YAYDP\API\Controllers\YAYDP_REST_PAGE_DATA_V1_CONTROLLER B

Total Complexity 79
Dependencies 9
Dependents 0
Total lines 553
Lines of code 415
Logical lines of code 141
Comment lines 104
Methods 19
Properties 2

Methods 19

Method Rating Maintainability Complexity Lines of code
register_routes()
A
34 1 150
get_removing_rules()
A
54 8 20
get_custom_filter()
S
56 6 16
save_page_data()
S
48 4 36
get_billing_regions()
S
57 5 15
get_customers()
S
57 5 15
get_attributes()
S
57 5 15
get_coupons()
S
57 5 15
get_payment_methods()
S
57 5 15
get_shipping_regions()
S
57 5 15
get_tags()
S
57 5 15
get_customer_roles()
S
57 5 15
get_categories()
S
57 5 15
get_variations()
S
57 5 15
get_products()
S
57 5 15
get_page_data()
S
58 2 16
save_removing_rules()
S
65 1 8
permission_callback()
S
82 1 3
__construct()
S
98 1 1